package service.admin.impl;

import dao.admin.CardAddDao;
import dao.admin.impl.CardAddDaoImpl;
import entity.Borrow_card;
import service.admin.CardAddService;

/**
 * CardAddServiceImpl
 *
 * @author lenovo
 * @since 2023/9/4
 */
public class CardAddServiceImpl implements CardAddService {

    //引入数据访问层
    CardAddDao dao = new CardAddDaoImpl();

    @Override
    public int add(Borrow_card borrow_card) {
        return dao.add(borrow_card);
    }

    @Override
    public int getId(Borrow_card borrow_card) {
        return dao.getId(borrow_card);
    }
}
